package com.imooc.enums;

/**
 * FileName: PayStatusEnum.java
 * Description: 支付状态枚举
 *
 * @author HuangRI(874668739 @ qq.com)
 * @version 1.0
 * @date 2020/12/17
 */

import lombok.Getter;

@Getter
public enum PayStatusEnum implements BaseEnum {

    WAIT(0, "等待支付"),
    SUCCESS(1, "支付成功");

    /**
     * 订单状态码
     */
    private Integer code;

    /**
     * 订单状态文本
     */
    private String message;

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
